package com.times.common.zipkin;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "trace.brave")
public class TraceProperties {
 
    @Value("${spring.application.name}")
    private String serviceName;
    private String zipkin;
    private float rate;
 
    public String getServiceName() {
        return serviceName;
    }
 
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
 
    public String getZipkin() {
        return zipkin;
    }
 
    public void setZipkin(String zipkin) {
        this.zipkin = zipkin;
    }
 
    public float getRate() {
        return rate;
    }
 
    public void setRate(float rate) {
        this.rate = rate;
    }
}
